package com.qys.livesMall.app.user.service;

import com.qys.livesMall.app.user.model.entity.H2AppUserBalance;
import com.qys.livesMall.app.user.model.vo.PlatformBalanceVO;
import com.qys.livesMall.app.user.model.vo.UserBalanceVO;
import com.qys.livesMall.finance.model.dto.AccountSearch;
import com.qys.livesMall.finance.model.entity.user.FinanceUserAccount;
import com.qys.livesMall.framework.view.QysPage;

import java.util.List;

/**
 * <p>
 * 用户资金表 服务类
 * </p>
 *
 * @author dp
 * @since 2023-04-24
 */
public interface IH2AppUserBalanceService{


    /**
     * 分页查询用户余额信息
     *
     * @param search
     * @return
     */
    QysPage<UserBalanceVO> page(AccountSearch search);
    /**
     * 分页查询用户余额信息
     *
     * @param search
     * @return
     */
    QysPage<PlatformBalanceVO> platformPage(AccountSearch search);


    /**
     * 根据用户id查询用户账户信息
     *
     * @param userId 用户id
     */
    H2AppUserBalance queryByUserId(Long userId);

    List<FinanceUserAccount> listByUserIds(List<Long> userIds);
}
